@namespace DaoHang.Components.Pages.AIRecommendation
@using DaoHang.Models

<div class="loading-section">
    <div class="loading-animation">
        <div class="ai-brain">
            <i class="bi bi-cpu"></i>
        </div>
        <div class="loading-text">
            <h4>AI正在分析推荐...</h4>
            <p>正在为"@CategoryName"精选 @RecommendationCount 个优质网站，请稍候</p>
            <div class="loading-tips">
                <small class="text-muted">
                    <i class="bi bi-info-circle me-1"></i>
                    AI正在分析分类特征，@(PreferChineseWebsites ? "优先推荐中国网站" : "推荐国际知名网站")，预计需要10-30秒
                </small>
            </div>
        </div>
    </div>
</div>

@code {
    /// <summary>
    /// 分类名称
    /// </summary>
    [Parameter]
    public string CategoryName { get; set; } = string.Empty;

    /// <summary>
    /// 推荐数量
    /// </summary>
    [Parameter]
    public int RecommendationCount { get; set; } = 15;

    /// <summary>
    /// 是否优先推荐中国网站
    /// </summary>
    [Parameter]
    public bool PreferChineseWebsites { get; set; } = true;
} 